OOPSPAM\WOOCOMMERCE\WooSpamProtection D

Total Complexity 182
Dependencies 1
Dependents 0
Total lines 947
Lines of code 656
Logical lines of code 386
Comment lines 128
Methods 20
Properties 1

Methods 20

Method Rating Maintainability Complexity Lines of code
oopspam_check_order_attributes()
C
34 26 85
oopspam_disable_wc_rest_checkout()
C
33 24 102
oopspam_woocommerce_login_errors()
A
43 14 45
checkEmailAndIPInOOPSpam()
A
42 13 52
oopspam_checkout_store_api_processed()
A
47 13 32
oopspam_process_registration()
A
43 12 45
checkBlockedOrderTotal()
A
45 12 38
oopspam_legacy_checkout_classic_processed()
A
47 11 33
oopspam_checkout_classic_processed()
A
48 11 32
oopspam_checkout_process()
A
54 8 20
oopspam_woocommerce_register_errors()
S
49 7 30
__construct()
S
50 6 25
cleanSensitiveData()
S
55 5 21
hasCompletedOrders()
S
55 5 19
oopspam_woocommerce_register_form()
S
56 3 22
oopspam_woocommerce_login_form()
S
56 3 22
isEmailAllowed()
S
57 2 17
get_error_message()
S
69 3 6
getInstance()
S
72 2 6
should_check_honeypot()
S
74 2 4